<?php

namespace app\api\controller;

use app\common\controller\Api;

/**
 * fa_adfesse
 *
 * @icon {%iconName%}
 */
class Dfesse extends Api
{

    /**
     * {%modelName%}模型对象
     * @var \{%modelNamespace%}\{%modelName%}
     */
    protected $model = null;

    public function initialize()
    {
        parent::initialize();
        $this->model = new \{%modelNamespace%}\{%modelName%};
{%controllerAssignList%}
    }

    public function index(){
        $data = array (
  0 => 
  array (
    'title' => '单行文本',
    'field' => 'input_1562735091000_72876',
    'attr' => 'CHAR(10)',
    'icon' => 'icon-input',
    'filter-render' => 
    array (
      'name' => 'input',
      'width' => '100%',
      'defaultValue' => '',
      'required' => false,
      'dataType' => 'string',
      'pattern' => '',
      'placeholder' => '',
      'disabled' => false,
      'remoteFunc' => 'func_1562735091000_72876',
    ),
    'key' => '1562735091000_72876',
    'rules' => 
    array (
    ),
  ),
  1 => 
  array (
    'title' => '单行文本',
    'field' => 'input_1562735087000_28441',
    'attr' => 'CHAR(10)',
    'icon' => 'icon-input',
    'filter-render' => 
    array (
      'name' => 'input',
      'width' => '100%',
      'defaultValue' => '',
      'required' => false,
      'dataType' => 'string',
      'pattern' => '',
      'placeholder' => '',
      'disabled' => false,
      'remoteFunc' => 'func_1562735087000_28441',
    ),
    'key' => '1562735087000_28441',
    'rules' => 
    array (
    ),
  ),
  2 => 
  array (
    'title' => '单选框组',
    'field' => 'radio_1562735084000_17140',
    'attr' => 'ENUM',
    'icon' => 'icon-radio-active',
    'filter-render' => 
    array (
      'name' => 'radio',
      'inline' => false,
      'defaultValue' => '',
      'showLabel' => false,
      'required' => false,
      'width' => '',
      'remote' => false,
      'remoteOptions' => 
      array (
      ),
      'props' => 
      array (
        'value' => 'value',
        'label' => 'label',
      ),
      'remoteFunc' => 'func_1562735084000_17140',
      'disabled' => false,
    ),
    'filters' => 
    array (
      0 => 
      array (
        'value' => '选项1',
        'label' => '选项1',
      ),
      1 => 
      array (
        'value' => '选项2',
        'label' => '选项2',
      ),
      2 => 
      array (
        'value' => '选项3',
        'label' => '选项3',
      ),
    ),
    'key' => '1562735084000_17140',
    'rules' => 
    array (
    ),
  ),
  3 => 
  array (
    'title' => '时间选择器',
    'field' => 'time_1562729255000_54035',
    'attr' => 'TIME',
    'icon' => 'icon-time',
    'filter-render' => 
    array (
      'name' => 'time',
      'props' => 
      array (
        'format' => 'HH:mm:ss',
        'startPlaceholder' => '',
        'endPlaceholder' => '',
        'clearable' => true,
      ),
      'defaultValue' => '21:19:56',
      'readonly' => false,
      'disabled' => false,
      'editable' => true,
      'placeholder' => '',
      'isRange' => false,
      'arrowControl' => true,
      'required' => false,
      'width' => '',
      'remoteFunc' => 'func_1562729255000_54035',
    ),
    'key' => '1562729255000_54035',
    'rules' => 
    array (
    ),
  ),
  4 => 
  array (
    'title' => '下拉选择框',
    'field' => 'select_1562729262000_35515',
    'attr' => 'INT(1)',
    'icon' => 'icon-select',
    'filter-render' => 
    array (
      'name' => 'select',
      'defaultValue' => '',
      'multiple' => false,
      'disabled' => false,
      'clearable' => false,
      'placeholder' => '',
      'required' => false,
      'showLabel' => false,
      'width' => '',
      'remote' => false,
      'filterable' => false,
      'remoteOptions' => 
      array (
      ),
      'props' => 
      array (
        'value' => 'value',
        'label' => 'label',
      ),
      'remoteFunc' => 'func_1562729262000_35515',
    ),
    'filters' => 
    array (
      0 => 
      array (
        'value' => '下拉框1',
      ),
      1 => 
      array (
        'value' => '下拉框2',
      ),
      2 => 
      array (
        'value' => '下拉框3',
      ),
    ),
    'key' => '1562729262000_35515',
    'rules' => 
    array (
    ),
  ),
)

        $this->success('',$data);
    }

{%controllerIndex%}
}
